package cmfg;

public class PGGameDataDaoImpl implements GameDataDao {

	private double[] gameData;
	private double cost;
	private double r;

	public PGGameDataDaoImpl() {
	}

	@Override
	public double[] getGameData() {

		return gameData;
	}

	@Override
	public void setGameData(double[] gameData) {

		this.gameData = gameData;
		cost = gameData[0];
		r = gameData[1];

	}

	public double getCost() {
		return cost;
	}

	public double getR() {
		return r;
	}

}
